Gödel Machine
   HOME

TheInfoList



OR:

A Gödel machine is a hypothetical self-improving
computer program A computer program is a sequence or set of instructions in a programming language for a computer to execute. Computer programs are one component of software, which also includes documentation and other intangible components. A computer program ...
that solves problems in an optimal way. It uses a recursive self-improvement protocol in which it rewrites its own code when it can prove the new code provides a better strategy. The machine was invented by
Jürgen Schmidhuber Jürgen Schmidhuber (born 17 January 1963) is a German computer scientist most noted for his work in the field of artificial intelligence, deep learning and artificial neural networks. He is a co-director of the Dalle Molle Institute for Artif ...
(first proposed in 2003), but is named after
Kurt Gödel Kurt Friedrich Gödel ( , ; April 28, 1906 – January 14, 1978) was a logician, mathematician, and philosopher. Considered along with Aristotle and Gottlob Frege to be one of the most significant logicians in history, Gödel had an imme ...
who inspired the mathematical theories. The Gödel machine is often discussed when dealing with issues of
meta-learning Meta-learning is a branch of metacognition concerned with learning about one's own learning and learning processes. The term comes from the meta prefix's modern meaning of an abstract recursion, or "X about X", similar to its use in metaknowled ...
, also known as "learning to learn." Applications include automating human design decisions and transfer of knowledge between multiple related tasks, and may lead to design of more robust and general learning architectures. Though theoretically possible, no full implementation has been created. The Gödel machine is often compared with
Marcus Hutter Marcus Hutter (born April 14, 1967 in Munich) is DeepMind Senior Scientist researching the mathematical foundations of artificial general intelligence. He is on leave from his professorship at the ANU College of Engineering and Computer Scie ...
's
AIXI AIXI is a theoretical mathematical formalism for artificial general intelligence. It combines Solomonoff induction with sequential decision theory. AIXI was first proposed by Marcus Hutter in 2000 and several results regarding AIXI are proved ...
, another formal specification for an
artificial general intelligence Artificial general intelligence (AGI) is the ability of an intelligent agent to understand or learn any intellectual task that a human being can. It is a primary goal of some artificial intelligence research and a common topic in science fictio ...
. Schmidhuber points out that the Gödel machine could start out by implementing AIXItl as its initial sub-program, and self-modify after it finds proof that another algorithm for its search code will be better.


Limitations

Traditional problems solved by a computer only require one input and provide some output. Computers of this sort had their initial algorithm hardwired. This does not take into account the dynamic natural environment, and thus was a goal for the Gödel machine to overcome. The Gödel machine has limitations of its own, however. According to Gödel's
First Incompleteness Theorem First or 1st is the ordinal form of the number one (#1). First or 1st may also refer to: *World record, specifically the first instance of a particular achievement Arts and media Music * 1$T, American rapper, singer-songwriter, DJ, and rec ...
, any formal system that encompasses arithmetic is either flawed or allows for statements that cannot be proved in the system. Hence even a Gödel machine with unlimited computational resources must ignore those self-improvements whose effectiveness it cannot prove.


Variables of interest

There are three variables that are particularly useful in the run time of the Gödel machine. * At some time t, the variable \text will have the binary equivalent of t. This is incremented steadily throughout the run time of the machine. * Any input meant for the Gödel machine from the natural environment is stored in variable x. It is likely the case that x will hold different values for different values of variable \text. * The outputs of the Gödel machine are stored in variable y, where y(t) would be the output bit-string at some time t. At any given time t, where (1 \leq t \leq T), the goal is to maximize future success or utility. A typical ''utility function'' follows the pattern u(s, \mathrm) : S \times E \rightarrow \mathbb: : u(s, \mathrm) = E_\mu \Bigg \sum_^T r(\tau) \mid s, \mathrm \Bigg/math> where r(t) is a real-valued reward input (encoded within s(t)) at time t, E_\mu \cdot \mid \cdot /math> denotes the conditional expectation operator with respect to some possibly unknown distribution \mu from a set M of possible distributions (M reflects whatever is known about the possibly probabilistic reactions of the environment), and the above-mentioned \text = \operatorname(s) is a function of state s which uniquely identifies the current cycle. Note that we take into account the possibility of extending the expected lifespan through appropriate actions.


Instructions used by proof techniques

The nature of the six proof-modifying instructions below makes it impossible to insert an incorrect theorem into proof, thus trivializing proof verification.


get-axiom(''n'')

Appends the ''n''-th
axiom An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or f ...
as a theorem to the current theorem sequence. Below is the initial axiom scheme: * Hardware Axioms formally specify how components of the machine could change from one cycle to the next. * Reward Axioms define the
computational cost In computational complexity theory, a computational resource is a resource used by some computational models in the solution of computational problems. The simplest computational resources are computation time, the number of steps necessary to s ...
of hardware instruction and the physical cost of output actions. Related Axioms also define the lifetime of the Gödel machine as
scalar Scalar may refer to: *Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers * Scalar (physics), a physical quantity that can be described by a single element of a number field such ...
quantities representing all rewards/costs. * Environment Axioms restrict the way new inputs ''x'' are produced from the environment, based on previous sequences of inputs ''y''. * Uncertainty Axioms/String Manipulation Axioms are standard axioms for arithmetic, calculus,
probability theory Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set o ...
, and string manipulation that allow for the construction of proofs related to future variable values within the Gödel machine. * Initial State Axioms contain information about how to reconstruct parts or all of the initial state. * Utility Axioms describe the overall goal in the form of utility function ''u''.


apply-rule(''k'', ''m'', ''n'')

Takes in the index ''k'' of an inference rule (such as
Modus tollens In propositional logic, ''modus tollens'' () (MT), also known as ''modus tollendo tollens'' (Latin for "method of removing by taking away") and denying the consequent, is a deductive argument form and a rule of inference. ''Modus tollens' ...
,
Modus ponens In propositional logic, ''modus ponens'' (; MP), also known as ''modus ponendo ponens'' (Latin for "method of putting by placing") or implication elimination or affirming the antecedent, is a deductive argument form and rule of inference. ...
), and attempts to apply it to the two previously proved theorems ''m'' and ''n''. The resulting theorem is then added to the proof.


delete-theorem(''m'')

Deletes the theorem stored at index ''m'' in the current proof. This helps to mitigate storage constraints caused by redundant and unnecessary theorems. Deleted theorems can no longer be referenced by the above ''apply-rule'' function.


set-switchprog(''m'', ''n'')

Replaces ''switchprog'' ''S pm:n'', provided it is a non-empty
substring In formal language theory and computer science, a substring is a contiguous sequence of characters within a string. For instance, "''the best of''" is a substring of "''It was the best of times''". In contrast, "''Itwastimes''" is a subsequence ...
of ''S p''.


check()

Verifies whether the goal of the proof search has been reached. A target theorem states that given the current axiomatized utility function ''u'' (Item 1f), the utility of a switch from ''p'' to the current switchprog would be higher than the utility of continuing the execution of ''p'' (which would keep searching for alternative switchprogs).


state2theorem(''m'', ''n'')

Takes in two arguments, ''m'' and ''n'', and attempts to convert the contents of ''Sm:n'' into a theorem.


Example applications


Time-limited NP-hard optimization

The initial input to the Gödel machine is the representation of a connected graph with a large number of
nodes In general, a node is a localized swelling (a "knot") or a point of intersection (a Vertex (graph theory), vertex). Node may refer to: In mathematics *Vertex (graph theory), a vertex in a mathematical graph *Vertex (geometry), a point where two ...
linked by edges of various lengths. Within given time ''T'' it should find a
cyclic Cycle, cycles, or cyclic may refer to: Anthropology and social sciences * Cyclic history, a theory of history * Cyclical theory, a theory of American political history associated with Arthur Schlesinger, Sr. * Social cycle, various cycles in s ...
path connecting all nodes. The only real-valued reward will occur at time ''T''. It equals 1 divided by the length of the best path found so far (0 if none was found). There are no other inputs. The by-product of maximizing expected reward is to find the shortest path findable within the limited time, given the initial bias.


Fast theorem proving

Prove or disprove as quickly as possible that all even integers > 2 are the sum of two primes (
Goldbach’s conjecture Goldbach's conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states that every even natural number greater than 2 is the sum of two prime numbers. The conjecture has been shown to h ...
). The reward is 1/''t'', where ''t'' is the time required to produce and verify the first such proof.


Maximizing expected reward with bounded resources

A
cognitive robot Cognitive Robotics or Cognitive Technology is a subfield of robotics concerned with endowing a robot with intelligent behavior by providing it with a processing architecture that will allow it to learn and reason about how to behave in response t ...
that needs at least 1
liter The litre (international spelling) or liter (American English spelling) (SI symbols L and l, other symbol used: ℓ) is a metric unit of volume. It is equal to 1 cubic decimetre (dm3), 1000 cubic centimetres (cm3) or 0.001 cubic metre (m3). ...
of gasoline per hour interacts with a partially unknown environment, trying to find hidden, limited gasoline depots to occasionally refuel its tank. It is rewarded in proportion to its lifetime, and dies after at most 100 years or as soon as its tank is empty or it falls off a cliff, and so on. The
probabilistic Probability is the branch of mathematics concerning numerical descriptions of how likely an Event (probability theory), event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and ...
environmental reactions are initially unknown but assumed to be sampled from the axiomatized Speed Prior, according to which hard-to-compute environmental reactions are unlikely. This permits a computable strategy for making near-optimal predictions. One by-product of maximizing expected reward is to maximize expected lifetime.


See also

*
Gödel's incompleteness theorems Gödel's incompleteness theorems are two theorems of mathematical logic Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research i ...


References


External links


Gödel Machine Home Page
{{DEFAULTSORT:Godel machine Artificial intelligence